import { createGlobalStyle } from "styled-components";

// 全局样式 & reset.css
export const GlobalStyle = createGlobalStyle`

  html, body, div, span, applet, object, iframe,
  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  a, abbr, acronym, address, big, cite, code,
  del, dfn, em, img, ins, kbd, q, s, samp,
  small, strike, strong, sub, sup, tt, var,
  b, u, i, center,
  dl, dt, dd, ol, ul, li,
  fieldset, form, label, legend,
  table, caption, tbody, tfoot, thead, tr, th, td,
  article, aside, canvas, details, embed, 
  figure, figcaption, footer, header, hgroup, 
  menu, nav, output, ruby, section, summary,
  time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    /* vertical-align: baseline; */
    font-family: Regular;
  }
  /* HTML5 display-role reset for older browsers */
  article, aside, details, figcaption, figure, 
  footer, header, hgroup, menu, nav, section {
    display: block;
  }
  body {
    line-height: 1;
  }
  ol, ul {
    list-style: none;
  }
  li{
    list-style:none;
  }
  blockquote, q {
    quotes: none;
  }
  blockquote:before, blockquote:after,
  q:before, q:after {
    content: '';
    content: none;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  .iconfont {
    font-size: 1.6rem;
  }
  .ant-table-thead{
     .ant-table-cell{
        padding: 1.6rem 0 !important;
    }
  }
  ::-webkit-scrollbar {
    width: .8rem; /* 调整滚动条宽度 */
    height:.8rem; /* 调整滚动条高度（适用于水平滚动条） */
  }

  ::-webkit-scrollbar-thumb {
    background: #888; /* 滚动条颜色 */
    border-radius: .3rem; /* 圆角效果 */
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #555; /* 悬停时滚动条颜色 */
  }

  ::-webkit-scrollbar-track {
    background: #f1f1f1; /* 滚动条轨道颜色 */
    border-radius: .3rem; /* 圆角效果 */
  }
`;
 